package com.example.accessingdatamysql;

import org.springframework.data.repository.CrudRepository;

/**
 * @author caiwl
 * @date 2020/12/7 16:17
 */
// This will be AUTO IMPLEMENTED by Spring into a Bean called userRepository
// CRUD refers Create, Read, Update, Delete
public interface UserRepository extends CrudRepository<User, Integer> {
}
